//https://juejin.im/post/5d6fb0f66fb9a06af50fea3b Vue->proxy配置跨域步骤
module.exports = {
  devServer:{
    host:'localhost',
    port:8080,
    proxy:{
      '/api':{
        target:'http://mall-pre.springboot.cn',
        changeOrigin:true,
        pathRewrite:{
          '/api':''
        }
      }
    }
  },
};
